package com.hdd.enums;

public class CommonEnum {

    //支付用途
    public enum Purpose {
        zanshang("1", "赞赏"), 
        tixian("2", "提现");
        // 枚举值
        private String value;

        // 描述
        private String desc;

        private Purpose(String value, String desc) {
            this.value = value;
            this.desc = desc;
        }

        public String getValue() {
            return value;
        }

        public String getDesc() {
            return desc;
        }
    }

    //用户状态
    public enum userStatus {
        wuxiao("0", "无效"), 
        zhenchang("1", "正常"), 
        suoding("2","锁定");
        // 枚举值
        private String value;

        // 描述
        private String desc;

        private userStatus(String value, String desc) {
            this.value = value;
            this.desc = desc;
        }

        public String getValue() {
            return value;
        }

        public String getDesc() {
            return desc;
        }
    }
    
  //支付状态
    public enum Payment_status {
        status1(1, "付款中"), 
        status2(2, "付款成功"), 
        status3(3,"付款失败");
        // 枚举值
        private Integer value;

        // 描述
        private String desc;

        private Payment_status(Integer value, String desc) {
            this.value = value;
            this.desc = desc;
        }

        public Integer getValue() {
            return value;
        }

        public String getDesc() {
            return desc;
        }
    }

    //支付方式
    public enum payMode{
        balance(1, "余额支付"),
        wxPay(2, "微信支付");
        // 枚举值
        private Integer value;

        // 描述
        private String desc;

        private payMode(Integer value, String desc) {
            this.value = value;
            this.desc = desc;
        }

        public Integer getValue() {
            return value;
        }

        public String getDesc() {
            return desc;
        }
    }

    //支付方式
    public enum withdrawMode{
        wxTiXian(1, "微信提现"),
        alipayTiXian(2, "支付宝提现"),;
        // 枚举值
        private Integer value;

        // 描述
        private String desc;

        private withdrawMode(Integer value, String desc) {
            this.value = value;
            this.desc = desc;
        }

        public Integer getValue() {
            return value;
        }

        public String getDesc() {
            return desc;
        }
    }

    public enum templateId{
        account("jN7PBu1qd2cyP_rJqMyCS9laHvAK-l8nFZl5puBPkK0", "账号违规模板id");
//        wxPay(2, "微信支付");
        // 枚举值
        private String value;

        // 描述
        private String desc;

        private templateId(String value, String desc) {
            this.value = value;
            this.desc = desc;
        }

        public String getValue() {
            return value;
        }

        public String getDesc() {
            return desc;
        }
    }
    

}
